package willevaluate.model;

import android.content.Context;
import android.os.Handler;

import java.io.Serializable;
import java.util.HashMap;

import common.Constant;
import https.InterNetController;

/**
 * Created by Administrator on 2017/6/21.
 */

public class ExpertEvaluateInfoModel implements Serializable{

    private String name;
    private String exam_no;
    private String count;
    private String rank;
    private String type;
    private String email;
    private String tel;

    public ExpertEvaluateInfoModel(String name, String exam_no, String count, String rank, String type, String email, String tel) {
        this.name = name;
        this.exam_no = exam_no;
        this.count = count;
        this.rank = rank;
        this.type = type;
        this.email = email;
        this.tel = tel;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getExam_no() {
        return exam_no;
    }

    public void setExam_no(String exam_no) {
        this.exam_no = exam_no;
    }

    public String getCount() {
        return count;
    }

    public void setCount(String count) {
        this.count = count;
    }

    public String getRank() {
        return rank;
    }

    public void setRank(String rank) {
        this.rank = rank;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }
    // 提交志愿填报个人信息
    public void submitInfo(Context context, String orderid, Handler handler, int flag) {
        HashMap<String, String> hashMap = new HashMap<>();
        hashMap.put("name", name);
        hashMap.put("exam_no", exam_no);
        hashMap.put("count", count);
        hashMap.put("rank", rank);
        hashMap.put("type", type);
        hashMap.put("email", email);
        hashMap.put("tel", tel);
        hashMap.put("orderid", orderid);
        new InterNetController(context, Constant.SUBMITINFO, handler, hashMap, flag);
    }

}
